package tencent

import (
	"gitee.com/go-course/go12/devcloud-mini/cmdb/provider"
)

func NewClient(secretId, secretKey, region string) *Client {
	return &Client{
		secretId:  secretId,
		secretKey: secretKey,
		region:    region,
	}
}

type Client struct {
	secretId  string
	secretKey string
	region    string
}

// 专门操作CVM
func (c *Client) CVMProvider() provider.ResourceProvider {
	return NewCvmProvider(c)
}
